package com.cly.api.clients;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("user-service")
public interface UserClient {
    @PutMapping("/user/deduct/money")
    void deductMoney(@RequestParam String password, @RequestParam Integer amount);
}
